Stable diffusion algorithm for artistic rendering